package com.a.a.a.a.b.b;

import com.taobao.txc.parser.b.a.h;
import java.sql.SQLSyntaxErrorException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public class n
  implements m
{
  private final List<m> a;
  
  protected static List<m> a(List<m> paramList)
  {
    if ((paramList instanceof ArrayList)) {
      return paramList;
    }
    return new ArrayList(paramList);
  }
  
  public List<m> d()
  {
    return this.a;
  }
  
  public n(List<m> paramList)
  {
    if ((paramList == null) || (paramList.isEmpty())) {
      throw new SQLSyntaxErrorException("at least one table reference");
    }
    this.a = a(paramList);
  }
  
  public Object a_()
  {
    if ((this.a != null) && (!this.a.isEmpty())) {
      return ((m)this.a.get(this.a.size() - 1)).a_();
    }
    return null;
  }
  
  public boolean b()
  {
    if (this.a == null) {
      return false;
    }
    int i = 0;
    Object localObject = null;
    Iterator localIterator = this.a.iterator();
    while (localIterator.hasNext())
    {
      m localm = (m)localIterator.next();
      if ((localm != null) && (1 == ++i)) {
        localObject = localm;
      }
    }
    return (i == 1) && (localObject.b());
  }
  
  public int c()
  {
    return 0;
  }
  
  public void a(h paramh)
  {
    paramh.a(this);
  }
}


/* Location:           C:\Users\ibm\Downloads\txc-yun-sample (1)\txc-yun-sample\lib\txc-client-2.0.72.jar
 * Qualified Name:     com.a.a.a.a.b.b.n
 * JD-Core Version:    0.7.0.1
 */